package com.tensquare.friend.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient("tensquare-user")
public interface FriendClient {
    @PutMapping("/user/updateFans/{id}/{count}")
    void updateFans(@PathVariable("id") String id,@PathVariable("count") int count);
    @PutMapping("/user/updateFollow/{id}/{count}")
    void updateFollow(@PathVariable("id") String id,@PathVariable("count") int count);
}
